﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApiProjectCreationTool.Code
{
    public class CodeTemplate
    {
        public static string GetSLN(string projectName)
        {
            return @"
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36408.4 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project(""{9A19103F-16F7-4668-BE54-9A1E7A4F7556}"") = """+projectName+@"Api"", """+projectName+@"Api\"+projectName+@"Api.csproj"", ""{49BC0878-C158-41FB-98D0-D0B149D0CD9B}""
EndProject
Project(""{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"") = """+projectName+@".Entity"", """+projectName+@".Entity\"+projectName+@".Entity.csproj"", ""{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82}""
EndProject
Project(""{9A19103F-16F7-4668-BE54-9A1E7A4F7556}"") = ""BoYuanCore.Framework"", ""BoYuanCore.Framework\BoYuanCore.Framework.csproj"", ""{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2}""
EndProject
Project(""{2150E333-8FDC-42A3-9474-1A3956D46DE8}"") = ""00 Document 文档"", ""00 Document 文档"", ""{06641AE1-D9EA-42DE-8F58-3AE65AE1A381}""
EndProject
Project(""{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"") = """+projectName+@".IService"", """+projectName+@".IService\"+projectName+@".IService.csproj"", ""{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C}""
EndProject
Project(""{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"") = """+projectName+@".Service"", """+projectName+@".Service\"+projectName+@".Service.csproj"", ""{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482}""
EndProject
Project(""{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"") = """+projectName+@".Model"", """+projectName+@".Model\"+projectName+@".Model.csproj"", ""{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D}""
EndProject
Project(""{9A19103F-16F7-4668-BE54-9A1E7A4F7556}"") = ""FreeSqlExtensions"", ""FreeSqlExtensions\FreeSqlExtensions.csproj"", ""{B5092058-E176-4C65-9663-9C8B73AE6C86}""
EndProject
Project(""{2150E333-8FDC-42A3-9474-1A3956D46DE8}"") = ""01 Framework 基础模块"", ""01 Framework 基础模块"", ""{B0D73A20-8BAC-4448-9584-257D322528D5}""
EndProject
Project(""{2150E333-8FDC-42A3-9474-1A3956D46DE8}"") = ""02 Domain 领域层"", ""02 Domain 领域层"", ""{2C63ACD0-58D3-4930-91AD-E04E1E332348}""
EndProject
Project(""{2150E333-8FDC-42A3-9474-1A3956D46DE8}"") = ""03 DBServices 数据服务层"", ""03 DBServices 数据服务层"", ""{CA36372D-0D05-4C77-9B4D-34DAB24DC4E3}""
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{49BC0878-C158-41FB-98D0-D0B149D0CD9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{49BC0878-C158-41FB-98D0-D0B149D0CD9B}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{49BC0878-C158-41FB-98D0-D0B149D0CD9B}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{49BC0878-C158-41FB-98D0-D0B149D0CD9B}.Release|Any CPU.Build.0 = Release|Any CPU
		{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82}.Release|Any CPU.Build.0 = Release|Any CPU
		{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2}.Release|Any CPU.Build.0 = Release|Any CPU
		{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C}.Release|Any CPU.Build.0 = Release|Any CPU
		{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482}.Release|Any CPU.Build.0 = Release|Any CPU
		{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D}.Release|Any CPU.Build.0 = Release|Any CPU
		{B5092058-E176-4C65-9663-9C8B73AE6C86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B5092058-E176-4C65-9663-9C8B73AE6C86}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B5092058-E176-4C65-9663-9C8B73AE6C86}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B5092058-E176-4C65-9663-9C8B73AE6C86}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{8C068F7B-E65D-48F1-A86C-1EC3F81D7B82} = {2C63ACD0-58D3-4930-91AD-E04E1E332348}
		{66ECD6EA-6D1C-4F36-A843-E788BBC4C7A2} = {B0D73A20-8BAC-4448-9584-257D322528D5}
		{B44A7B13-6C93-4A7B-BA30-CE3A7E84AF5C} = {CA36372D-0D05-4C77-9B4D-34DAB24DC4E3}
		{4B0890A1-96ED-4A88-B1B6-AFDCC5F05482} = {CA36372D-0D05-4C77-9B4D-34DAB24DC4E3}
		{2187D8E5-4BC3-4C6E-AA20-73F07A226B6D} = {2C63ACD0-58D3-4930-91AD-E04E1E332348}
		{B5092058-E176-4C65-9663-9C8B73AE6C86} = {B0D73A20-8BAC-4448-9584-257D322528D5}
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {8F8F69E6-A766-4CBE-A0C4-32B0B336A84F}
	EndGlobalSection
EndGlobal
";
        }
    }
}
